Fix usleep definition -- we would be sleeping 1000 times too long if the usleep
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Wed, 7 Dec 2005 15:41:41 +0000 (15:41 +0000)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Wed, 7 Dec 2005 15:41:41 +0000 (15:41 +0000)
commita16c06e77e7bca689d800489324208a9fb71bde3
tree32e906ad7588daf15409c694c2ec6bb446268334
parent11d655cef6306d6ce0cec07c51b8c0b6c05a480f
Fix usleep definition -- we would be sleeping 1000 times too long if the usleep
command were not available elsewhere on the machine (on my Debian boxes, for
example).

Sleep for a configurable amount of time between xm create calls (by default,
5 seconds).  This spaces out the booting of the new domains, meaning that they
should not thrash the disk so much.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/examples/init.d/sysconfig.xendomains
tools/examples/init.d/xendomains